package com.aaa.fegin;

import com.aaa.entity.DictData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


import java.util.List;

@FeignClient(value = "his-open-system")
public interface DictFegin {


    @GetMapping("/system/dict/data/listType/{type}")
    List<DictData> listType(@PathVariable String type);
}
